home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / comm2 / xbtx.lha / Source / SMakefile < prev    next >
Makefile  |  1995-12-03  |  2KB  |  82 lines

  1. #
  2. #    $Id: SMakefile 1.6 1995/12/03 12:16:23 olsen Exp olsen $
  3. #
  4. #    :ts=8
  5. #
  6.  
  7. .cpp.o:
  8.     sc $(CFLAGS) $*.cpp
  9.  
  10. .c.o:
  11.     sc $(CFLAGS) $*.c
  12.  
  13. OPT    = optimize
  14. DEBUG    = debug=line
  15.  
  16. CFLAGS    = ignore=304+306+308 nover debug=line nostackcheck cpu=030 \
  17.       opttime optinline params=r $(OPT) $(DEBUG)
  18. LFLAGS    = noicons sc sd addsym
  19.  
  20. OBJS    = Application.o BTXDecode.o BTXService.o GfxDisplay.o \
  21.       IOFile.o IORawSerial.o IOSerial.o Main.o ModemService.o \
  22.       RawFont.o TextDisplay.o
  23. LIBS    = lib:sc.lib lib:amiga.lib
  24.  
  25. XBTX:    $(OBJS)
  26.     slink lib:cres.o $(OBJS) to $@.debug lib $(LIBS) $(LFLAGS)
  27.     slink $@.debug to $@ nd noicons
  28.  
  29. autodocs:
  30.     @type \#?.(c|h)(pp|%) >t:tempfile
  31.     autodoc -C -I t:tempfile >XBTX.doc
  32.     @delete quiet t:tempfile
  33.  
  34. clean:
  35.     delete \#?.o
  36.  
  37. checkin:
  38.     ci -l -m. -t-. -M \#?.(c|h)(%|pp) SMakefile
  39.  
  40. mkid:
  41.     mkid -v \#?.(c|h)(pp|%)
  42.  
  43. update:
  44.     mkid -v -u
  45.  
  46. archive:
  47.     @-delete force XBTX.lha
  48.     lha a XBTX.lha \#?.(c|h)(pp|%) XBTX(%|.doc) smakefile
  49.  
  50. Application.hpp: IOChannel.hpp IOFile.hpp IOSerial.hpp IORawSerial.hpp \
  51.     BTXDisplay.hpp GfxDisplay.hpp TextDisplay.hpp BTXService.hpp \
  52.     ModemService.hpp
  53.     touch Application.hpp
  54.  
  55. BTXService.hpp: IOChannel.hpp BTXDisplay.hpp
  56.     touch BTXService.hpp
  57.  
  58. GfxDisplay.hpp: BTXDisplay.hpp
  59.     touch GfxDisplay.hpp
  60.  
  61. IOFile.hpp: IOChannel.hpp
  62.     touch IOFile.hpp
  63.  
  64. IORawSerial.hpp: IOChannel.hpp
  65.     touch IORawSerial.hpp
  66.  
  67. ModemService.hpp: IOChannel.hpp BTXDisplay.hpp
  68.     touch ModemService.hpp
  69.  
  70. TextDisplay.hpp: BTXDisplay.hpp
  71.     touch TextDisplay.hpp
  72.  
  73. Application.o: Application.cpp Application.hpp
  74. BTXService.o: BTXService.cpp BTXService.hpp
  75. BTXDecode.o: BTXDecode.cpp BTXService.hpp
  76. GfxDisplay.o: GfxDisplay.cpp BTXDisplay.hpp
  77. IOFile.o: IOFile.cpp IOFile.hpp
  78. IORawSerial.o: IORawSerial.cpp IORawSerial.hpp
  79. IOSerial.o: IOSerial.cpp IOSerial.hpp
  80. Main.o: Main.cpp Application.hpp
  81. ModemService.o: ModemService.cpp ModemService.hpp
  82.